package com.sam.im.heiqun.entities.beans;

/**
 * Created by zhangqiang on 2018/7/12.
 */
public class DownloadInfo {

    private boolean isFinish;

    private long contentLength;

    private long currentLength;

    public DownloadInfo(boolean isFinish, long contentLength, long currentLength) {
        this.isFinish = isFinish;
        this.contentLength = contentLength;
        this.currentLength = currentLength;
    }

    public boolean isFinish() {
        return isFinish;
    }

    public void setFinish(boolean finish) {
        isFinish = finish;
    }

    public long getContentLength() {
        return contentLength;
    }

    public void setContentLength(long contentLength) {
        this.contentLength = contentLength;
    }

    public long getCurrentLength() {
        return currentLength;
    }

    public void setCurrentLength(long currentLength) {
        this.currentLength = currentLength;
    }

    @Override
    public String toString() {
        return "DownloadInfo{" +
                "isFinish=" + isFinish +
                ", contentLength=" + contentLength +
                ", currentLength=" + currentLength +
                '}';
    }
}
